﻿////****************************************************************************
////
//// Descriptive Name = A  data access wrapper library for IBM.Data.DB2.iSeries 
//// provider.
//// Short Name = ISeriesDataProxy
//// Function = A data access proxy for client applications. 
////
//// Copyright for IBM.Data.DB2.iSeries and other IBM libraries used belongs to 
//// IBM Corp 2008
////
////****************************************************************************
////============================================================================
//// Copyright © Shibu Raj - shibukraj@gmail.com.  All Rights Reserved.
//// This code released under the terms of the 
//// GNU General Public License version 2 (GPLv2) 
//// (http://isereisdataproxy.codeplex.com/license)
////============================================================================

namespace ISeriesDataProxyTest
{
    using System;
    using ISeriesDataProxy;
    using NUnit.Framework;

    /// <summary>
    /// Unit testing class for Db2DatabaseFactory.
    /// </summary>
    [TestFixture]
    public class Db2DatabaseFactoryTest
    {
        /// <summary>
        /// Test to create an instance of database with no connection string name given.
        /// </summary>
        [Test]
        public void CreateDatabaseWithNoConnectionStringSpecifiedTest()
        {
            //// Arrange
            Db2Database testInstance = Db2DatabaseFactory.CreateDatabase();
            //// Act

            //// Assert
            Assert.IsNotNull(testInstance);
        }
    }
}
